package com.mineoj.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mineoj.model.entity.QuestionList;
import com.mineoj.model.entity.QuestionListFavour;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 明月
* @description 针对表【question_list_favour(题单收藏)】的数据库操作Mapper
* @createDate 2025-04-05 16:35:01
* @Entity com.mineoj.model.entity.QuestionListFavour
*/
public interface QuestionListFavourMapper extends BaseMapper<QuestionListFavour> {
    /**
     * 分页查询收藏题单列表
     *
     * @param page
     * @param queryWrapper
     * @param favourUserId
     * @return
     */
    Page<QuestionList> listFavourQuestionListByPage(IPage<QuestionList> page, @Param(Constants.WRAPPER) Wrapper<QuestionList> queryWrapper,
                                    long favourUserId);
}




